package com.ccp.dev.system.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.system.model.SysUserParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 系统审计,操作日志 信息数据库操作类
 *
 * @author: fanruiqi
 * Date: 2019-11-19
 * Since:1
 */
@Mapper
public interface SysUserParamDao extends IBaseMapper<SysUserParam,String> {

    /**
     * 根据用户Id和参数key获取用户数据。
     * @param userId    用户ID
     * @param paramKey  参数Key
     * @return
     */
    SysUserParam getByParaUserId(@Param("userId") String userId, @Param("paramKey") String paramKey);

}
